<?php
namespace Module\Manage;

use Module\Manage\Init;
use Model\Api as ModelApi;
/**
 * 接口日志
 * @author shooke
 *
 */
class Api extends Init
{
    /**
     * 接口日志概况
     */
    public function index()
    {
        $vd = [
            'visit'=>ModelApi::page(10)->order('id desc')->fetchAll(),
            'pagestring'=>ModelApi::pageString()
        ];
        view($vd);
    }
    /**
     * 接口日志详情
     */
    public function record()
    {
        $vd = [
            'visit'=>ModelApi::page(10)->order('id desc')->fetchAll(),
            'pagestring'=>ModelApi::pageString()
        ];
        view($vd);
    }
}